package com.pand.model.infringe;

import com.pand.model.BaseObject;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * 
 * @ClassName: VehicleInfringe 
 * @Description: 车辆违章
 *
 */
@Entity
@Table(name = "BIZ_VEHICLE_INFRINGE")
@SequenceGenerator(name = "SeqVehicleInfringe", sequenceName = "SEQ_VEHICLE_INFRINGE", allocationSize = 1)
public class VehicleInfringe extends BaseObject {
	
	
	/** 
	 * @Fields serialVersionUID : 
	 */ 
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private Long id;
	
	/**
	 * 车辆id
	 */
	private Long vehicleId;
	
	/**
	 *  车牌号
	 */  
	private String license;
	
	/**
	 * 客户ID
	 */
	private Long customerId;
	
	/**
	 * 客户名称
	 */
	private String customerName;
	
	/**
	 * 违章人
	 */
	private String infringer;
	
	/**
	 * 违章人手机号
	 */
	private String infringerPhone;
	
	/**
	 * 违章原因
	 */
	private String infringeReason;
	
	/**
	 * 违章日期
	 */
	private Timestamp infringeDate;
	
	/**
	 * 违章地址
	 */
	private String infringeAddress;
	
	/**
	 * 订单号
	 */
	private String orderNo;
	
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 是否处理
	 */
	private Integer operateFlag;
	
	/**
	 * 操作人名称
	 */
	private String operatorName;
	
	/**
	 * 操作人ID
	 */
	private Long operatorId;
	
	/**
	 * 扣除分数
	 */
	private Integer deductScore;
	
	/**
	 * 扣除罚金
	 */
	private Double deductForfeit;
	
	/**
	 * 客户类型
	 */
	private Integer customerType;
	
	/**
	 * 客户类型名称
	 */
	private String customerTypeName;
	
	/**
	 * 处理类型0：自行处理1：违约金处理，默认0
	 */
	private String processingType;
	
	/**
	 * 处理时间
	 */
	private Timestamp processingDate;
	
	/**
	 * 创建时间
	 */
	private Timestamp createTime;
	
	/**
	 * 是否已经成功反馈
	 */
	private Integer isFeedback;
	
	/**
	 * 违章号
	 */
	private String illegalNumber;

	@Column(name = "ILLEGAL_NUMBER")
	public String getIllegalNumber() {
		return illegalNumber;
	}

	public void setIllegalNumber(String illegalNumber) {
		this.illegalNumber = illegalNumber;
	}

	@Column(name = "IS_FEEDBACK")
	public Integer getIsFeedback() {
		return isFeedback;
	}

	public void setIsFeedback(Integer isFeedback) {
		this.isFeedback = isFeedback;
	}

	@Column(name = "CREATE_TIME")
	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	@Id
	@GeneratedValue(generator = "SeqVehicleInfringe")
	@Column(name = "ID")
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "VEHICLE_ID")
	public Long getVehicleId() {
		return this.vehicleId;
	}

	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}

	@Column(name = "LICENSE")
	public String getLicense() {
		return this.license;
	}

	public void setLicense(String license) {
		this.license = license;
	}

	@Column(name = "CUSTOMER_ID")
	public Long getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	@Column(name = "INFRINGE_REASON")
	public String getInfringeReason() {
		return this.infringeReason;
	}

	public void setInfringeReason(String infringeReason) {
		this.infringeReason = infringeReason;
	}

	@Column(name = "INFRINGE_DATE")
	public Timestamp getInfringeDate() {
		return this.infringeDate;
	}

	public void setInfringeDate(Timestamp infringeDate) {
		this.infringeDate = infringeDate;
	}

	@Column(name = "INFRINGE_ADDRESS")
	public String getInfringeAddress() {
		return this.infringeAddress;
	}

	public void setInfringeAddress(String infringeAddress) {
		this.infringeAddress = infringeAddress;
	}

	@Column(name = "ORDER_NO")
	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Transient
	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	@Column(name = "IS_OPERATE")
	public Integer getOperateFlag() {
		return this.operateFlag;
	}

	public void setOperateFlag(Integer operateFlag) {
		this.operateFlag = operateFlag;
	}

	@Column(name = "OPERATOR_NAME")
	public String getOperatorName() {
		return this.operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	@Column(name = "DEDUCT_SCORE")
	public Integer getDeductScore() {
		return this.deductScore;
	}

	public void setDeductScore(Integer deductScore) {
		this.deductScore = deductScore;
	}

	@Column(name = "DEDUCT_FORFEIT")
	public Double getDeductForfeit() {
		return this.deductForfeit;
	}

	public void setDeductForfeit(Double deductForfeit) {
		this.deductForfeit = deductForfeit;
	}

	@Column(name = "INFRINGER")
	public String getInfringer() {
		return this.infringer;
	}

	public void setInfringer(String infringer) {
		this.infringer = infringer;
	}

	@Column(name = "INFRINGER_PHONE")
	public String getInfringerPhone() {
		return this.infringerPhone;
	}

	public void setInfringerPhone(String infringerPhone) {
		this.infringerPhone = infringerPhone;
	}

	@Column(name = "CUSTOMER_TYPE")
	public Integer getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(Integer customerType) {
		this.customerType = customerType;
	}

	@Transient
	public String getCustomerTypeName() {
		return this.customerTypeName;
	}

	@Column(name = "OPERATOR_ID")
	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	@Column(name = "PROCESSING_TYPE")
	public String getProcessingType() {
		return processingType;
	}

	public void setProcessingType(String processingType) {
		this.processingType = processingType;
	}

	@Column(name = "PROCESSING_DATE")
	public Timestamp getProcessingDate() {
		return processingDate;
	}

	public void setProcessingDate(Timestamp processingDate) {
		this.processingDate = processingDate;
	}

}
